package com.easy.bean;

public class Cart {


    private int userid;

    private int productid;

    private int count;

    private int ischecked;

    private User user;

    private Product product;

    private Cart cart;

    public int getIschecked() {
        return ischecked;
    }

    public void setIschecked(int ischecked) {
        this.ischecked = ischecked;
    }

    public Cart getCart() {
        return cart;
    }

    public void setCart(Cart cart) {
        this.cart = cart;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "userid=" + userid +
                ", productid=" + productid +
                ", count=" + count +
                ", ischecked=" + ischecked +
                ", user=" + user +
                ", product=" + product +
                ", cart=" + cart +
                '}';
    }
}
